package main

import (
	"fmt"
)

func model1(){
	//"/"取整运算符
	//"%"取余运算符
	//自增自减独立使用，不能赋值或者做运算
	var a int = 10
	var b int = 3
	fmt.Printf("%d ÷ %d = %d......%d\n",a,b,a/b,a%b)
}

func model2(){
	//逻辑运算
	//&& || 
	var age int = 40
	if age > 30 && age < 50{
		fmt.Println("0k1")
	}
}

func model3(){
	//赋值运算
	//= += -= *= /= %=
}

func main(){
	model1()
	model2()
	model3()
}